<?php

$curl_handle=curl_init();




curl_setopt($curl_handle, CURLOPT_URL,'http://t22-srtm-0171717070.paris.fr/srtm/reservationCreneauListe.action');

curl_setopt($curl_handle, CURLOPT_POST,true);
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle,CURLOPT_HTTPHEADER,
    array('HeaderName' => ' HeaderValue',
    'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'Accept-Encoding' => 'gzip,deflate,sdch',
    'Accept-Language' => 'en-US,en;q=0.8',
    'Cache-Control' => 'no-cache',
    'Connection' => 'keep-alive',
    'Content-Length' => '247',
    'Content-Type' => 'application/x-www-form-urlencoded',
    'Cookie' => 'JSESSIONID=07273880A113EAABECBF7770A08B9246.tomcat1; __utma=181093858.755338889.1363546301.1370093642.1370095834.10; __utmb=181093858.32.10.1370095834; __utmc=181093858; __utmz=181093858.1370037423.6.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',
    'Host' => 't22-srtm-0171717070.paris.fr',
    'Origin' => 'http://t22-srtm-0171717070.paris.fr',
    'Pragma' => 'no-cache',
    'Referer' => 'http://t22-srtm-0171717070.paris.fr/srtm/reservationCreneauInit.action',
    'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36'
    ));

$postfields = array("provenanceCriteres" => true,
    "actionInterne" => 'recherche',
    "tousArrondissements" => 'on',
    "dateDispo" => '01%2F06%2F2013',
'libellePlageHoraire' =>'',
'nomCourt' => '',
'actionInterne' => 'recherche',
'champ' => '',
'tennisArrond' => '',
'arrondissement' => '',
'arrondissement2' => '',
'arrondissement3' => '',
'dateDispo' => '01%2F06%2F2013',
'heureDispo' => '',
'plageHoraireDispo' => '',
'revetement' => '',
'court' => ''    
);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $postfields);

$query = curl_exec($curl_handle);
curl_close($curl_handle);
var_dump($query);
?>